624b7c7bd1c3857287cc7afc65e90f5d1b798d89,functional-test/src/test/java/org/zanata/feature/account/ProfileTest.java,ProfileTest,changeUsersApiKey,#,78
Before Change
@Test
public void changeUsersApiKey() {
MyAccountPage myAccountPage =
new LoginWorkFlow().signIn("translator", "translator")
.goToMyProfile();
String currentApiKey = myAccountPage.getApiKey();
myAccountPage = myAccountPage.pressApiKeyGenerateButton();
After Change
@Test
public void changeUsersApiKey() {
DashboardClientTab dashboardClientTab = new LoginWorkFlow()
.signIn("translator", "translator")
.goToSettingsTab()
.goToSettingsClientTab();
String currentApiKey = dashboardClientTab.getApiKey();
dashboardClientTab = dashboardClientTab.pressApiKeyGenerateButton();
dashboardClientTab.waitForLoaderFinished();